<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/reset.css">
    <link rel="stylesheet" href="../css/common.css">
    <style>
        /* ul {
            margin: auto;
            width: 410px;
        } */

        .menu {
            font-size: 0;
            text-align: center;
            border-bottom: 1px solid #000;
            height: 75px;
        }

        .menu a {
            display: block;
            padding: 0 30px;
        }

        .menu li {
            display: inline-block;
            background-color: #ff0;
            font-size: 14px;
            line-height: 74px;
        }

        .menu li:hover {
            border-bottom: 3px solid green;
        }
    </style>
</head>

<body>
    <ul class="menu">
        <li>
            <a href="">首页首页</a>
        </li>
        <li>
            <a href="">首页首页</a>
        </li>
        <li>
            <a href="">首页首页</a>
        </li>
        <li>
            <a href="">首页首页</a>
        </li>
    </ul>


</body>

</html>